package com.clkj.aimin.pojo.doctor;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_doctor" )
@Table( name ="t_cl_doctor" )
public class Doctor  implements Serializable {

    @Id
   	@Column(name = "doctor_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer doctorId;

	/**
	 * 姓名
	 */
   	@Column(name = "doctor_name" )
	@ApiModelProperty( value="姓名")
	private String doctorName;

	/**
	 * 职称
	 */
   	@Column(name = "doctor_title" )
	@ApiModelProperty( value="职称")
	private String doctorTitle;

	/**
	 * 科室
	 */
   	@Column(name = "department_id" )
	@ApiModelProperty( value="科室")
	private Integer departmentId;

    /**
     * 所在医院
     */
    @Column(name = "hospital_name" )
    @ApiModelProperty( value="所在医院")
    private String  hospitalName;

	/**
	 * 状态 0不可用 1可用
	 */
   	@Column(name = "doctor_status" )
	@ApiModelProperty( value="状态 0不可用 1可用")
	private Integer doctorStatus;

   	@Column(name = "open_id" )
	@ApiModelProperty( value="null")
	private String openId;

    @Column(name = "doctor_pic" )
    @ApiModelProperty( value="医生头像")
    private String doctorPic;

    @Column(name = "doctor_detail" )
    @ApiModelProperty( value="医生介绍")
    private String doctorDetail;

    @Column(name = "inuserId" )
    @ApiModelProperty( value="在用户表中的ID")
    private Integer inuserId;

    @Column(name = "erweima" )
    @ApiModelProperty( value="二维码")
    private String erweima;



    /**
     * 医生认证码
     */
    @Column(name = "rcode" )
    @ApiModelProperty( value="医生认证码")
    private String rcode;



    @Transient
    private Integer helperId;

    @Transient
    private String departmentName;

    @Transient
    private List<DoctorTimer> timesList ;



    public Integer getDoctorId() {
    return doctorId;
  }

  public void setDoctorId(Integer doctorId) {
    this.doctorId = doctorId;
  }


  public String getDoctorName() {
    return doctorName;
  }

  public void setDoctorName(String doctorName) {
    this.doctorName = doctorName;
  }


  public String getDoctorTitle() {
    return doctorTitle;
  }

  public void setDoctorTitle(String doctorTitle) {
    this.doctorTitle = doctorTitle;
  }


  public Integer getDepartmentId() {
    return departmentId;
  }

  public void setDepartmentId(Integer departmentId) {
    this.departmentId = departmentId;
  }


  public Integer getDoctorStatus() {
    return doctorStatus;
  }

  public void setDoctorStatus(Integer doctorStatus) {
    this.doctorStatus = doctorStatus;
  }


  public String getOpenId() {
    return openId;
  }

  public void setOpenId(String openId) {
    this.openId = openId;
  }

    public String getDoctorPic() {
        return doctorPic;
    }

    public void setDoctorPic(String doctorPic) {
        this.doctorPic = doctorPic;
    }

    public String getDoctorDetail() {
        return doctorDetail;
    }

    public void setDoctorDetail(String doctorDetail) {
        this.doctorDetail = doctorDetail;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public List<DoctorTimer> getTimesList() {
        return timesList;
    }

    public void setTimesList(List<DoctorTimer> timesList) {
        this.timesList = timesList;
    }

    public Integer getInuserId() {
        return inuserId;
    }

    public void setInuserId(Integer inuserId) {
        this.inuserId = inuserId;
    }

    public String getErweima() {
        return erweima;
    }

    public void setErweima(String erweima) {
        this.erweima = erweima;
    }



    public String getRcode() {
        return rcode;
    }

    public void setRcode(String rcode) {
        this.rcode = rcode;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public Integer getHelperId() {
        return helperId;
    }

    public void setHelperId(Integer helperId) {
        this.helperId = helperId;
    }
}
